<template>
	<view class="">
		<view class="w720 mg15 d-col">
			<view class="d-bt border_bottom_f6f6f6 pt30 pb30">
				<view class="">设备名称</view>
				<view class="">A智能仪器柜</view>
			</view>
			<view v-for="(item, index) in 5" :key="index" class="d-bt border_bottom_f6f6f6 pt30 pb30">
				<view class="">仪器名称</view>
				<view class="">A测量仪</view>
			</view>
			<view class="d-bt border_bottom_f6f6f6 pt30 pb30">
				<view class="">借用时间</view>
				<view class="" @click="showPicker('start')">{{ startTime ? startTime : '请选择借用时间' }}</view>
			</view>
			<view class="d-bt border_bottom_f6f6f6 pt30 pb30">
				<view class="">归还时间</view>
				<view class="" @click="showPicker('end')">{{ endTime ? endTime : '请选择归还时间' }}</view>
			</view>
			<view class="d-col pt30 pb30">
				<view class="">使用说明</view>
				<view class="mt10">
					<u-input v-model="contents" type="textarea" :border="true" />
				</view>
			</view>
		</view>
		<view class="pos_bottom w720 mg15">
			<view class="w720 h80 d-center bg_006536 ftc_fff br8" @click="subInfo">提交</view>
		</view>
		<u-picker v-model="show" mode="time" :params="params" @confirm="confirmTime" @cancel="show = false"></u-picker>
	</view>
</template>
<script>
	import mixin from "./mixin";
	import mixinCom from "@/utils/mixinCom.js";
	export default {
		name: "tabbarIndex",
		mixins: [mixin, mixinCom]
	}
</script>

<style lang="scss" scoped>
	@import './index.scss';
</style>